
const { ccclass, property } = cc._decorator;

@ccclass
export class MineItem extends cc.Component {

    public score: number;
    public speed: number;

    start() {
    }

    public setScore(score: number = 10) {
        this.score = score;
    }

    onCollisionEnter(other, self) {


    }
    update(dt) {
        //this.getComponent(cc.RigidBody).syncPosition(true);
    }
}
